import { codeToText } from 'element-china-area-data'

export const textToCode = Object.keys(codeToText).reduce((prev, cur) => {
  prev[codeToText[cur]] = cur
  return prev
}, {})

export { codeToText }
